Skip to content

Conversation

@onurtemizkan
Copy link
Collaborator

Possibly Related: #9593

Remix documentation suggests users avoid capturing aborted requests.

@onurtemizkan onurtemizkan marked this pull request as ready for review November 27, 2023 14:00

// Skip capturing if the request is aborted as Remix docs suggest
// Ref: https://remix.run/docs/en/main/file-conventions/entry.server#handleerror
if (request.signal.aborted) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this exist in older Remix versions?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checked, yes 👍

@AbhiPrasad AbhiPrasad enabled auto-merge (squash) November 27, 2023 14:14
@AbhiPrasad AbhiPrasad merged commit 4c75f85 into develop Nov 27, 2023
@AbhiPrasad AbhiPrasad deleted the onur/skip-aborted-requests branch November 27, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants